package com.ruoyi.tiktok.configs;


import com.squareup.okhttp.OkHttpClient;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

@Configuration
public class modelConfig {

    @Bean
    public OkHttpClient okHttpClient(){
        return new OkHttpClient();
    }
    @Bean
    public RestTemplate restTemplate(){
        return new RestTemplate();
    }

}